<div class="panes_vertical">
	<div class="box">	
		<form method="post" action="<{$APPLICATION_URL}>/Admin/Settings/EditPackage" name="frmForm" enctype="multipart/form-data">
			<fieldset>
				<legend>Edit Package Settings</legend>																
				<p>
					<label>Name:</label>
					<input type='text' id='name' name='name' value='<{$name}>' class="textfield">					
				</p>
				<p>
					<label>Price:</label>
					<input type='text' id='price' name='price' value='<{$price}>' class="textfield">					
				</p>
				<p>
					<label>Page Include (please input -1 if you want to unlimit this feature):</label>
					<input type='text' id='pageIncluded' name='pageIncluded' value='<{$pageIncluded}>' class="textfield">					
				</p>
				<p>
					<input type="checkbox" name="cms" id="cms" <{if $cms == "1"}> checked="checked" <{/if}>/>CMS
					</p>
				<p>
					<input type="checkbox" name="blogging" id="blogging" <{if $blogging == "1"}> checked="checked" <{/if}>/>Blogging System
				</p>
				<p>
					<input type="checkbox" name="gallery" id="gallery" <{if $gallery == "1"}> checked="checked" <{/if}>/>Gallery
					</p>
				<p>
					<input type="checkbox" name="ecommerce" id="ecommerce" <{if $ecommerce == "1"}> checked="checked" <{/if}>/>Ecommerce
				</p>				
				<p>
					<input type="checkbox" name="news" id="news" <{if $news == "1"}> checked="checked" <{/if}>/>News Section
				</p>	
				<!--
				<p>
					<input type="checkbox" name="customDesign" id="customDesign" <{if $customDesign == "1"}> checked="checked" <{/if}>/>Custom Designs
				</p>
				-->
				<p>
					<input type="checkbox" name="ownDomain" id="ownDomain" <{if $ownDomain == "1"}> checked="checked" <{/if}>/>Use Own Domain
				</p>
				<p>
					<input type="checkbox" name="freeHosting" id="freeHosting" <{if $freeHosting == "1"}> checked="checked" <{/if}>/>Free Hosting
				</p>
				<!-- 
				<p>
					<input type="checkbox" name="freeBranding" id="freeBranding" <{if $freeBranding == "1"}> checked="checked" <{/if}>/>Branding Free
				</p>
				 -->
				<p>
					<input type="button" name="save" class="button" id="save" value=" Submit " onclick="formSubmit();" />
					<input type="reset" name="reset" class="button" id="reset" value=" Reset " />										
					<input type="hidden" id="id" name="id" value="<{$id}>" />
					<input type="hidden" id="actionForm" name="actionForm" value=""/>
					<input type="hidden" id="actionKey" name="actionKey" value="<{$actionKey}>" />
				</p>
			</fieldset>
		</form>
	</div>
</div>

<script type="text/javascript">
    function formSubmit()
    {
    	var theform = document.frmForm;
    	
    	// Check Name
    	var name = theform.name.value;
    	if (name == ''){
			alert('Name is invalid');
			theform.name.focus();
			return false;
    	}
    	    	
    	theform.actionForm.value = 'submit';
    	theform.submit();
    	return true;
    }
</script>